package com.zhj.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhj.sharding.entity.User;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * user
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    IPage<User> listByPage(IPage<User> page);

    User getOne(@Param("userId") Long userId);
}
